package com.cmxh.shipper.service.impl;

import com.cmxh.shipper.mapper.AccountAuthenticationMapper;
import com.cmxh.shipper.pojo.AccountAuthentication;
import com.cmxh.shipper.service.AccountAuthenticationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AccountAuthenticationServiceimlp implements AccountAuthenticationService {
    @Autowired
    private AccountAuthenticationMapper accountAuthenticationMapper;

    @Override
    public AccountAuthentication selectByPrimaryKey(Integer eid) {
        AccountAuthentication accountAuthentication = accountAuthenticationMapper.selectByPrimaryKey(eid);

        return accountAuthentication;
    }

    //开户行
    @Override
    public int insert(AccountAuthentication record) {
        int insert = accountAuthenticationMapper.insert(record);
        return insert;
    }
}
